local M = {}

function M.bindHotkey(mods, key, fn)
    return hs.hotkey.new(mods, key, fn)
end

function M.cleanupHotkeys(hotkeyTable)
    for _, hotkey in pairs(hotkeyTable) do
        if hotkey then
            hotkey:delete()
        end
    end
    return {}
end

return M